package com.lanchetech.dao;
import java.util.Date;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.lanchetech.entity.WebConfig;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface WebConfigMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WebConfig record);

    int insertSelective(WebConfig record);

    WebConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WebConfig record);

    int updateByPrimaryKey(WebConfig record);

    List<WebConfig> findAll();

    WebConfig findOneByName(@Param("name")String name);

    String findValueByName(@Param("name")String name);

	int updateValueAndUpdatedAtByName(WebConfig webConfig);


}